/*
 *  smcJaikuGlobals.h
 *  jaikuAPI
 *
 *  Created by Christian Martick on 13.04.07.
 *	jaiku api - global constants, etc
 *
*/

#define JUHUCLIENT_VERSION @"juhu/0.9.9"

//item keys for an entry
#define kSmcEntryKeyTitle @"title"
#define kSmcEntryKeyText @"description"
#define kSmcEntryKeyURL @"link"
#define kSmcEntryKeyID @"guid"
#define kSmcEntryKeyDate @"pubDate"
#define kSmcEntryKeyNick @"nick"
#define kSmcEntryKeyFirstName @"first_name"
#define kSmcEntryKeyLastName @"last_name"
#define kSmcEntryKeyLocation @"jaiku:location"
#define kSmcEntryKeyRelativeDateString @"jaiku:timesince"
#define kSmcEntryKeyUserImageURL @"avatar"
#define kSmcEntryKeyUserImage @"userImage"
#define kSmcEntryKeyUserURL @"userURL"
#define kSmcEntryKeyCommentCount @"commentCount"
#define kSmcEntryKeyFlag @"readFlag"
#define kSmcEntryKeyChannelFlag @"channelFlag"
#define kSmcPrivate @"private"
#define kSmcPublic @"public"

//error message
#define kSmcErrorGenericUpdateFailure @"The downloaded data could not be parsed, there seems to be a problem."

//error constants
typedef enum
{
	kSmcErrorNoError = 0,
	kSmcErrorNoConnection = 41,
	kSmcErrorURLError = 42,
	kSmcErrorParserInitError = 43,
	kSmcErrorParsingError = 44,
	kSmcErrorParsingNotRSS = 45,
	kSmcErrorNoEntries = 46,
	kSmcErrorNoServerToPostTo = 47,
	kSmcErrorServerFoundButNoPost = 48,
	kSmcErrorGeneralPostError = 49,
	kSmcErrorWrongStreamSelector = 50,
	kSmcErrorCommentNoPageString = 51,
	kSmcErrorCommentNoHash = 52,
	kSmcErrorCommentFailed = 61,
	kSmcErrorDeleteNoPageString = 53,
	kSmcErrorDeleteNoHash = 54,
	kSmcErrorDeleteFailed = 62,
	kSmcErrorContactCantAddBecauseIs = 55,
	kSmcErrorContactCantRemoveBecauseIsnt = 56,
	kSmcErrorContactNoFeed = 57,
	kSmcErrorCommentDoingUpdating = 58,
	kSmcErrorContactAddFailed = 59,
	kSmcErrorContactRemoveFailed = 63, 
	kSmcErrorMissingNameOrPassword = 60,
	kSmcErrorCredentialsWrong = 64
} kSmcJaikuError;

//icon constants
typedef enum {
	kSmcIconNone = 300,
	kSmcIconAirport = 316,
	kSmcIconAlarmClock = 302,
	kSmcIconBalloons = 348,
	kSmcIconBandaid = 384,
	kSmcIconBarrier = 350,
	kSmcIconBasketball = 321,
	kSmcIconBeer = 322,
	kSmcIconBike = 388,
	kSmcIconBinoculars = 323,
	kSmcIconBlading = 387,
	kSmcIconBoiler = 324,
	kSmcIconBomb = 310,
	kSmcIconBook = 354,
	kSmcIconBra = 311,
	kSmcIconBus = 317,
	kSmcIconCamera = 320,
	kSmcIconCar = 301,
	kSmcIconCasette = 305,
	kSmcIconChampaign = 315,
	kSmcIconCigarettes = 313,
	kSmcIconClean = 386,
	kSmcIconClock = 349,
	kSmcIconCloudy = 398,
	kSmcIconCoffee = 319,
    kSmcIconComputer = 329,
	kSmcIconCone = 332,
	kSmcIconDisc = 336,
	kSmcIconDriller = 333,
	kSmcIconEarMuffs = 346,
	kSmcIconEvent = 337,
	kSmcIconExclamationmark = 338,
	kSmcIconFootball = 339,
	kSmcIconFootballShoe = 340,
	kSmcIconFork = 341,
	kSmcIconGame = 331,
	kSmcIconGameboy = 342,
	kSmcIconGrenade = 343,
	kSmcIconGrumpy = 318,
	kSmcIconHand = 344,
	kSmcIconHanger = 345,
	kSmcIconHappy = 393,
	kSmcIconHome = 392,
	kSmcIconIceCream = 381,
	kSmcIconLaptop = 351,
	kSmcIconLeep = 363,
	kSmcIconLifejacket = 391,
	kSmcIconLoudspeaker = 303,
	kSmcIconLove = 347,
	kSmcIconMakeup = 383,
	kSmcIconMegaphone = 352,
	kSmcIconMicrowave = 353,
	kSmcIconMiddleFinger = 355,
	kSmcIconMovie = 382,
	kSmcIconNotes = 356,
	kSmcIconPicnic = 390,
	kSmcIconPills = 389,
	kSmcIconPlay = 335,
	kSmcIconPopcorn = 334,
	kSmcIconQuestion = 357,
	kSmcIconRollator = 358,
	kSmcIconRollerblade = 307,
	kSmcIconSalt = 360,
	kSmcIconScoop = 309,
	kSmcIconScull = 361,
	kSmcIconSearch = 397,
	kSmcIconShop = 396,
	kSmcIconShuttlecock = 359,
	kSmcIconSkeight = 362,
	kSmcIconSnorkeling = 364,
	kSmcIconSnowflake = 365,
	kSmcIconSoda = 366,
	kSmcIconSong = 367,
	kSmcIconSpeechbubble = 300,
	kSmcIconSraycan = 368,
	kSmcIconSticks = 369,
	kSmcIconStorm = 370,
	kSmcIconStraitjacket = 371,
	kSmcIconSubway = 372,
	kSmcIconSun = 374,
	kSmcIconTaxi = 375,
	kSmcIconTechnics = 376,
	kSmcIconTheatre = 395,
	kSmcIconToaster = 377,
	kSmcIconToiletpaper = 394,
	kSmcIconTrain = 378,
	kSmcIconTram = 304,
	kSmcIconTrashcan = 327,
	kSmcIconTravel = 373,
	kSmcIconTv = 328,
	kSmcIconUnderwear = 306,
	kSmcIconUzi = 308,
	kSmcIconVideocamera = 330,
	kSmcIconVideotape = 312,
	kSmcIconVinyl = 314,
	kSmcIconWalk = 325,
	kSmcIconWallclock = 326,
	kSmcIconWheelchair = 379,
	kSmcIconWine = 385,
	kSmcIconZippo = 380
} kSmcJaikuIcons;